class Hosts(object):
    def __init__(self, hosts, tasks):
        self.hosts = hosts
        self.tasks = tasks

def create(hosts, tasks):
    pb = Hosts(hosts, tasks)
    
    return [vars(pb)]
